package com.anjie.powerproject.strategy.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.util.Date;

//每个小时的预测，另一张表
@Entity(name = "weather_forecast_hourly")
public class WeatherEachHour {
    @Id
    private Date sdate;
    private Double temperature;
    private Double feelsLike;
    private Double wind;
    private Double humidity;
    private Double chance;
    private Double barometer;
    private Double visibility;
    private Double weather;
    private String historycityCode;

    @Transient
    private String desc;

    public Date getSdate() {
        return sdate;
    }

    public void setSdate(Date sdate) {
        this.sdate = sdate;
    }

    public Double getTemperature() {
        return temperature;
    }

    public void setTemperature(Double temperature) {
        this.temperature = temperature;
    }

    public Double getFeelsLike() {
        return feelsLike;
    }

    public void setFeelsLike(Double feelsLike) {
        this.feelsLike = feelsLike;
    }

    public Double getWind() {
        return wind;
    }

    public void setWind(Double wind) {
        this.wind = wind;
    }

    public Double getHumidity() {
        return humidity;
    }

    public void setHumidity(Double humidity) {
        this.humidity = humidity;
    }

    public Double getChance() {
        return chance;
    }

    public void setChance(Double chance) {
        this.chance = chance;
    }

    public Double getBarometer() {
        return barometer;
    }

    public void setBarometer(Double barometer) {
        this.barometer = barometer;
    }

    public Double getVisibility() {
        return visibility;
    }

    public void setVisibility(Double visibility) {
        this.visibility = visibility;
    }

    public Double getWeather() {
        return weather;
    }

    public void setWeather(Double weather) {
        this.weather = weather;
    }

    public String getHistorycityCode() {
        return historycityCode;
    }

    public void setHistorycityCode(String historycityCode) {
        this.historycityCode = historycityCode;
    }
}
